package net.coding.bamboo.wex.client.model;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author : zenghua
 * @version : v0.1 Customer.java
 * @since : 2017/6/6 11:13
 */
@XmlRootElement
//@XmlType(name = "A01Request_CType", propOrder = {
//        "name",
//        "age"
//})
public class Customer {
    @XmlElement(name = "Name")
    String name;
    @XmlElement(name = "Age")
    int age;
    int id;

    public String getName() {
        return name;
    }


    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }


    public void setAge(int age) {
        this.age = age;
    }

    public int getId() {
        return id;
    }

    @XmlAttribute
    public void setId(int id) {
        this.id = id;
    }
}
